<?php
$session = $this->session->userdata('logged_in');
?>
<!DOCTYPE HTML>
<html>
    <head>
        <title>
            Hotel Management System
        </title>

        <?php if (isset($css_files)) { ?>
            <?php foreach ($css_files as $file): ?>
                <link type="text/css" rel="stylesheet" href="<?php echo $file; ?>" />
            <?php endforeach; ?>
            <?php foreach ($js_files as $file): ?>
                <script src="<?php echo $file; ?>"></script>
            <?php endforeach; ?>
        <?php } ?>
    </head>
    <body>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <?php echo $output ?>
                </div>
            </div>
        </div>
        <script>
            function choose(a, b) {
                window.opener.$('#resv-id').val(a);
                window.opener.$('#guest-name').val(b);
                window.close();
            }
        </script>
    </body>
</html>